package cn.maiyar.log.config;

import cn.maiyar.log.NoticeProperties;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.Bean;

/**
 * 日志配置文件
 *
 * @author c.c
 **/
@Slf4j
@EnableConfigurationProperties(NoticeProperties.class)
@ConditionalOnProperty(prefix = "meta.monitor" , name = "enabled" , havingValue = "true")
public class LogConfig { }
